package com.ssss.template.exec1;

/**
 * 抽象类
 */
public abstract class AbstractPerson {

    // 抽象类定义整个流程骨架
    public void prepareGotoSchool(){
        dressUp();
        eatBreakfast();
        takeThings();
    }

    protected abstract void dressUp();
    protected abstract void eatBreakfast();
    protected abstract void takeThings();
}
